/**
 * @date 2006-2-23 17:27:48
 *
 */
package org.nanhill.moo.web.controller;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

/**
 * @author alin [xalinx at gmail dot com]
 * 
 */
public class FindThreadController extends SimpleViewController {
	// /*
	// * (non-Javadoc)
	// *
	// * @see
	// org.springframework.web.servlet.mvc.Controller#handleRequest(javax.servlet.http.HttpServletRequest,
	// * javax.servlet.http.HttpServletResponse)
	// */
	// public ModelAndView handleRequest(HttpServletRequest request,
	// HttpServletResponse arg1) throws Exception {
	// return new ModelAndView(getFormView(), this.createViewModel(request));
	// }

	/*
	 * TODO use ajax
	 * 
	 * @see org.nanhill.moo.view.web.controller.MyController#createViewModel(javax.servlet.http.HttpServletRequest)
	 */
	protected Map<String, Object> createViewModel(HttpServletRequest request) {
		// List<Category> categories =
		// this.actionManager.getCategoryDao().findAll();
		// List<Cost> costs = this.actionManager.getCostDao().findAll();
		// List<Goal> goals = this.actionManager.getGoalDao().findAll();
		// Map<String, Object> map = new HashMap<String, Object>();
		// map.put("allCategory", categories);
		// map.put("allCost", costs);
		// map.put("allGoal", goals);
		return null;
	}

}
